package cn.itcast.client;

import cn.itcast.pojo.Student;
import org.springframework.stereotype.Component;

@Component
public class FallbackStudentClient implements StudentClient {
    @Override
    public Student findTne(String id) {
        Student student = new Student();
        student.setSname("error");
        return student;
    }
}
